package learn.ch1.join;

/**
 * @Description todo
 * @Author yusj
 * @Date 2021/12/14
 * @Version 1.0
 */
public class ThYield01 implements Runnable{
    @Override
    public void run() {
        System.out.println("----->-----!");
        Thread.yield();
        System.out.println("----->---yield--!");
    }
}
